// Fill out your copyright notice in the Description page of Project Settings.

#pragma once

#include "CoreMinimal.h"
#include "Widgets/SCompoundWidget.h"
#include "Widgets/Views/SListView.h"


class SPakAssetsView;
/**
 * 
 */
class SElectAssetsView : public SCompoundWidget
{
public:
	SLATE_BEGIN_ARGS(SElectAssetsView)
	{}
	SLATE_END_ARGS()

	/** Constructs this widget with InArgs */
	void Construct(const FArguments& InArgs);

	void SelectAssetsChange(TArray<FName> SelelctAssets);

public:

	SPakAssetsView* PakAssetsView;

protected:

	TSharedRef<ITableRow> HandleAssetViewGenerateRow(TSharedPtr<FName> AssetName, const TSharedRef<STableViewBase>& OwnerTable);

protected:

	TArray<TSharedPtr<FName>> AssetList;

	TSharedPtr<SListView<TSharedPtr<FName>>> AssetViewTree;
};
